export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  dialogDirection: "rtl",
  searchMenuSpan: 6,
  column: [
    {
      type: "input",
      label: "展示内容",
      prop: "introduce",
      hide: true,
    },
    {
      type: "input",
      label: "主题名字",
      prop: "name",
    },
    {
      type: "datetime",
      label: "举办日期",
      prop: "createTime",
      format: "yyyy-MM-dd HH:mm:ss",
      valueFormat: "yyyy-MM-dd HH:mm:ss",
    },
    /*  {
      "type": "datetime",
      "label": "结束时间",
      "prop": "endTime"
    },	*/ {
      type: "input",
      label: "举办地址",
      prop: "address",
    },
    {
      label: "封面图片",
      prop: "img",
      type: "upload",
      action: "/fastfile/upload/szgk-1256675456",
      listType: "picture-card",
      dataType: "string",
      // limit: 2,
      propsHttp: {
        res: "data",
        url: "kpath",
      },
      span: 24,
    },
    {
      label: "内容图片",
      prop: "contentImg",
      type: "upload",
      action: "/fastfile/upload/szgk-1256675456",
      listType: "picture-card",
      dataType: "string",
      // limit: 2,
      propsHttp: {
        res: "data",
        url: "kpath",
      },
      span: 24,
    },
    {
      type: "input",
      label: "内容",
      prop: "content",
      component: "avueUeditor",
      slot: true,
      hide: true,
      options: {
        action: "/fastfile/upload/szgk-1256675456",
        props: {
          res: "data", // 解析文件上传后的respose.JSON
          url: "kpath", // 解析responseJSON==> data.fileUrl
        },
      },
      span: 24,
    },
    {
      type: "input",
      label: "排序号",
      prop: "sort",
    } /*,	  {
      "type": "input",
      "label": "备注",
      "prop": "remark"
    }*/,
  ],
};
